from EastMoney.spiders import money
from scrapy.crawler import CrawlerProcess
from scrapy.utils.project import get_project_settings

settings = get_project_settings()
crawler = CrawlerProcess(settings)
crawler.crawl(money.MoneySpider)
crawler.start()
# the script will block here until the crawling is finished
